/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package tds;

import java.util.Collection;

/**
 *
 * @author hoopaloopa
 */
public class SearchResponse {
	
	private Collection<Result> results;
	private int
			max_id,
			since_id,
			results_per_page,
			page;
	private String
			refresh_url,
			next_page,
			previous_page,
			warning,
			since_id_str,
			max_id_str;
	private double completed_in;

	/**
	 * @return the results
	 */
	public Collection<Result> getResults() {
		return results;
	}

	/**
	 * @param results the results to set
	 */
	public void setResults(Collection<Result> results) {
		this.results = results;
	}

	/**
	 * @return the max_id
	 */
	public int getMax_id() {
		return max_id;
	}

	/**
	 * @param max_id the max_id to set
	 */
	public void setMax_id(int max_id) {
		this.max_id = max_id;
	}

	/**
	 * @return the since_id
	 */
	public int getSince_id() {
		return since_id;
	}

	/**
	 * @param since_id the since_id to set
	 */
	public void setSince_id(int since_id) {
		this.since_id = since_id;
	}

	/**
	 * @return the results_per_page
	 */
	public int getResults_per_page() {
		return results_per_page;
	}

	/**
	 * @param results_per_page the results_per_page to set
	 */
	public void setResults_per_page(int results_per_page) {
		this.results_per_page = results_per_page;
	}

	/**
	 * @return the page
	 */
	public int getPage() {
		return page;
	}

	/**
	 * @param page the page to set
	 */
	public void setPage(int page) {
		this.page = page;
	}

	/**
	 * @return the refresh_url
	 */
	public String getRefresh_url() {
		return refresh_url;
	}

	/**
	 * @param refresh_url the refresh_url to set
	 */
	public void setRefresh_url(String refresh_url) {
		this.refresh_url = refresh_url;
	}

	/**
	 * @return the next_page
	 */
	public String getNext_page() {
		return next_page;
	}

	/**
	 * @param next_page the next_page to set
	 */
	public void setNext_page(String next_page) {
		this.next_page = next_page;
	}

	/**
	 * @return the previous_page
	 */
	public String getPrevious_page() {
		return previous_page;
	}

	/**
	 * @param previous_page the previous_page to set
	 */
	public void setPrevious_page(String previous_page) {
		this.previous_page = previous_page;
	}

	/**
	 * @return the warning
	 */
	public String getWarning() {
		return warning;
	}

	/**
	 * @param warning the warning to set
	 */
	public void setWarning(String warning) {
		this.warning = warning;
	}

	/**
	 * @return the since_id_str
	 */
	public String getSince_id_str() {
		return since_id_str;
	}

	/**
	 * @param since_id_str the since_id_str to set
	 */
	public void setSince_id_str(String since_id_str) {
		this.since_id_str = since_id_str;
	}

	/**
	 * @return the max_id_str
	 */
	public String getMax_id_str() {
		return max_id_str;
	}

	/**
	 * @param max_id_str the max_id_str to set
	 */
	public void setMax_id_str(String max_id_str) {
		this.max_id_str = max_id_str;
	}

	/**
	 * @return the completed_in
	 */
	public double getCompleted_in() {
		return completed_in;
	}

	/**
	 * @param completed_in the completed_in to set
	 */
	public void setCompleted_in(double completed_in) {
		this.completed_in = completed_in;
	}
			
	
	public static class Result {
		private String
				text,
				id_str,
				from_user_id_str,
				from_user,
				created_at,
				iso_language_code,
				to_user_id_str,
				source;

		/**
		 * @return the from_user_id_str
		 */
		public String getFrom_user_id_str() {
			return from_user_id_str;
		}

		/**
		 * @param from_user_id_str the from_user_id_str to set
		 */
		public void setFrom_user_id_str(String from_user_id_str) {
			this.from_user_id_str = from_user_id_str;
		}

		/**
		 * @return the from_user
		 */
		public String getFrom_user() {
			return from_user;
		}

		/**
		 * @param from_user the from_user to set
		 */
		public void setFrom_user(String from_user) {
			this.from_user = from_user;
		}

		/**
		 * @return the created_at
		 */
		public String getCreated_at() {
			return created_at;
		}

		/**
		 * @param created_at the created_at to set
		 */
		public void setCreated_at(String created_at) {
			this.created_at = created_at;
		}

		/**
		 * @return the iso_language_code
		 */
		public String getIso_language_code() {
			return iso_language_code;
		}

		/**
		 * @param iso_language_code the iso_language_code to set
		 */
		public void setIso_language_code(String iso_language_code) {
			this.iso_language_code = iso_language_code;
		}

		/**
		 * @return the to_user_id_str
		 */
		public String getTo_user_id_str() {
			return to_user_id_str;
		}

		/**
		 * @param to_user_id_str the to_user_id_str to set
		 */
		public void setTo_user_id_str(String to_user_id_str) {
			this.to_user_id_str = to_user_id_str;
		}

		/**
		 * @return the source
		 */
		public String getSource() {
			return source;
		}

		/**
		 * @param source the source to set
		 */
		public void setSource(String source) {
			this.source = source;
		}

		/**
		 * @return the it_str
		 */
		public String getIt_str() {
			return id_str;
		}

		/**
		 * @param it_str the it_str to set
		 */
		public void setIt_str(String it_str) {
			this.id_str = it_str;
		}

		/**
		 * @return the text
		 */
		public String getText() {
			return text;
		}

		/**
		 * @param text the text to set
		 */
		public void setText(String text) {
			this.text = text;
		}
	}
	
	
}
